import React, { FC } from 'react';
import { Tabs } from 'antd';
import { TestEntityList } from './crud/TestEntityList';
import { useAppContext } from './AppContext';
import { useApolloClient } from '@apollo/client';

const { TabPane } = Tabs;

export const AppTabs: FC = () => {
  const roles = useAppContext().userInfo?.roles

  const client = useApolloClient()

  return (
    <Tabs onTabClick={(activeKey) => {

    }}>
        <>
          <TabPane key="" tab="TestEntityList">
            <TestEntityList />
          </TabPane>
        </>
    </Tabs>
  );
};